package lg101;

/**
 * Created by Administrator on 2016/12/14.
 */

public class jnilib {
    public native int OpenPort(String com, int iBaudRate);
    public native int ClosePort();
    public native int ControlLED(int iLed, int iOnOff, int iOnTm, int iOffTm);
    public native int ReadLEDST(int[] iLedArray, int[] iTwinkleLedArray);
    public native int ReadGuard(int[] iGUARDst);
    public native int SetTwinkle(int[] iLedArray, int iOnTm, int iOffTm);
    public native int SetBoot(int[] iLedArray, int[] iTwinkleLedArray, int iOnTm, int iOffTm);
    public native int Reset();
    public native int GetVersion(int[] iVer);
}
